home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Modules / BackSpaceModules / Source / Fortune / FortuneView.h next >
Encoding:
C/C++ Source or Header  |  1994-04-06  |  1.2 KB  |  70 lines

  1. #import <appkit/appkit.h>
  2. #import "Thinker.h"
  3.  
  4. // this code is copyright Darcy Brockbank, 1993
  5. //
  6. // You may freely reuse and distribute this code in any way shape or
  7. // form, provided that this notice stays intact.
  8. //
  9. // darcy@hasc.ca, samurai@cs.mcgill.ca
  10. //
  11. // If you do improve this thing, send me a copy!
  12. //
  13. // - darcy
  14.  
  15.  
  16. @interface FortuneView:View
  17. {
  18.     id fe;
  19.     int fontNum;
  20.     int numWords;
  21.     const char *words;
  22.     int len;
  23.     int maxlen;
  24.     BOOL useColor;
  25.     unsigned threshold;
  26.     NXColor currentColor;
  27.     char  * currentWord;
  28.     const char * const * fontNames;
  29.     int numFonts;
  30.     int maxWordLen;
  31.     int iteration;
  32.     id font;
  33.     int gray;
  34.     float blue;
  35.     float red;
  36.     float green;
  37.     float    xpos;
  38.     float    ypos;
  39.     NXPoint maxCoord;
  40.     NXSize oldSize;
  41.     int currentFrame;
  42.     id sharedInspectorPanel;
  43.     id speedSlider;
  44.     id highlightSwitch;
  45.     int fortuneFile;
  46.     id offensiveMatrix;
  47.     NXStream * fortuneStream;
  48.     id appowner;
  49.     id colorSwitch;
  50.     char * excluded;
  51.     id fontWindow;
  52.     id availableBrowser;
  53. }
  54.  
  55. - addFont:sender;
  56. - removeFont:sender;
  57. - showFonts:sender;
  58. - useColor:sender;
  59. - doDrawing;
  60. - loadWords:(const char *)db;
  61. - newDatabase:sender;
  62. - setGray:sender;
  63. - setThreshold:sender;
  64. - oneStep;
  65. - sizeTo:(NXCoord)width :(NXCoord)height;
  66. - newViewSize;
  67. - (const char *)windowTitle;
  68.  
  69. @end
  70.